﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020010F9 RID: 4345
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SecurityReportScRsp : IMessage<SecurityReportScRsp>, IMessage, IEquatable<SecurityReportScRsp>, IDeepCloneable<SecurityReportScRsp>, IBufferMessage
	{
		// Token: 0x1700370C RID: 14092
		// (get) Token: 0x0600C266 RID: 49766 RVA: 0x0020E194 File Offset: 0x0020C394
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SecurityReportScRsp> Parser
		{
			get
			{
				return SecurityReportScRsp._parser;
			}
		}

		// Token: 0x1700370D RID: 14093
		// (get) Token: 0x0600C267 RID: 49767 RVA: 0x0020E19B File Offset: 0x0020C39B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SecurityReportScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700370E RID: 14094
		// (get) Token: 0x0600C268 RID: 49768 RVA: 0x0020E1AD File Offset: 0x0020C3AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SecurityReportScRsp.Descriptor;
			}
		}

		// Token: 0x0600C269 RID: 49769 RVA: 0x0020E1B4 File Offset: 0x0020C3B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SecurityReportScRsp()
		{
		}

		// Token: 0x0600C26A RID: 49770 RVA: 0x0020E1BC File Offset: 0x0020C3BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SecurityReportScRsp(SecurityReportScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C26B RID: 49771 RVA: 0x0020E1E1 File Offset: 0x0020C3E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SecurityReportScRsp Clone()
		{
			return new SecurityReportScRsp(this);
		}

		// Token: 0x1700370F RID: 14095
		// (get) Token: 0x0600C26C RID: 49772 RVA: 0x0020E1E9 File Offset: 0x0020C3E9
		// (set) Token: 0x0600C26D RID: 49773 RVA: 0x0020E1F1 File Offset: 0x0020C3F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600C26E RID: 49774 RVA: 0x0020E1FA File Offset: 0x0020C3FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SecurityReportScRsp);
		}

		// Token: 0x0600C26F RID: 49775 RVA: 0x0020E208 File Offset: 0x0020C408
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SecurityReportScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C270 RID: 49776 RVA: 0x0020E238 File Offset: 0x0020C438
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C271 RID: 49777 RVA: 0x0020E277 File Offset: 0x0020C477
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C272 RID: 49778 RVA: 0x0020E27F File Offset: 0x0020C47F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C273 RID: 49779 RVA: 0x0020E288 File Offset: 0x0020C488
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C274 RID: 49780 RVA: 0x0020E2BC File Offset: 0x0020C4BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C275 RID: 49781 RVA: 0x0020E2FA File Offset: 0x0020C4FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SecurityReportScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C276 RID: 49782 RVA: 0x0020E32B File Offset: 0x0020C52B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C277 RID: 49783 RVA: 0x0020E334 File Offset: 0x0020C534
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004E87 RID: 20103
		private static readonly MessageParser<SecurityReportScRsp> _parser = new MessageParser<SecurityReportScRsp>(() => new SecurityReportScRsp());

		// Token: 0x04004E88 RID: 20104
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004E89 RID: 20105
		public const int RetcodeFieldNumber = 8;

		// Token: 0x04004E8A RID: 20106
		private uint retcode_;
	}
}
